﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ServiceInfo.aspx.cs" Inherits="CRM.ServiceInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="Web_CSS/WebCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="JavaScript/Jquery.js"></script>
    <script type="text/javascript" src="JavaScript/ManageWeb.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
        <div class="Body_Title">
            人员管理 》》人员信息</div>
            <div class="pageStyle">
                <input type="button" value="添加新人员" 
                onclick='javascript:location.href="ServiceEdit.aspx"'/>
            </div>
        <asp:Repeater ID="RpServiceUser" runat="server" 
            OnItemCommand="RpPowerUser_ItemCommand">
            <HeaderTemplate>
                <table cellpadding="3" cellspacing="1" class="Admin_Table">
                    <thead>
                        <tr class="Admin_Table_Title">
                            <th style="width: 10%;">
                                操作
                            </th>
                            <th style="width: 10%;">
                                名称
                            </th>
                            <th style="width: 10%;">
                                职位
                            </th>
                            <th style="width: 20%;">
                                联系方式
                            </th>
                            <th style="width: 20%;">
                                邮件
                            </th>
                            <th style="width: 10%;">
                                QQ
                            </th>
                            <th style="width: 10%;">
                                状态
                            </th>
                            <th style="width: 10%;">
                                加入时间
                            </th>
                        </tr>
                    </thead>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                <td><a title="修改信息.." href='ServiceEdit.aspx?SID=<%#Eval("T_ServiceID") %>'><img src="Images/Edit.gif"/></a>&nbsp;&nbsp;
                    <asp:ImageButton ID="IBDelService" CommandName="Del" 
                    CommandArgument='<%#Eval("T_ServiceID") %>' 
                    runat="server" ImageUrl="~/Images/Delete.gif" 
                    ToolTip="删除该用户.."/>
                    <asp:ImageButton ID="IBUpdatePass" 
                    CommandName="Pass" 
                    CommandArgument='<%#Eval("T_ServiceID") %>' 
                    runat="server" 
                    ImageUrl="~/Images/CheckPass_ICO.gif" 
                    ToolTip="重置用户密码.."/>
                    </td>
                    <td><%#Eval("T_ServiceName")%></td>
                    <td><%#Eval("T_PowerName")%></td>
                    <td><%#Eval("T_ServiceTel")%></td>
                    <td><%#Eval("T_ServiceMail")%></td>
                    <td><%#Eval("T_ServiceQQ")%></td>
                    <td><%#(Eval("T_ServiceState").ToString()=="0")?"<font color=green>正常</font>":"<font color=red>禁用</font>"%></td>
                    <td><%#Eval("T_DateTime","{0:yyyy-MM-dd}")%></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table></FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
